{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/header.html"}
{literal}
<script type="text/javascript">
    $(function(){
        $('.assortment').hover(function(){
            $('.assort_list').stop().fadeIn();
        },function(){
            $('.assort_list').stop().fadeOut();
        });
    });
</script>
<script type="text/javascript" src="/js/user.js"></script>
<style>
    .assort_list{display: none;}
</style>
{/literal}

<div class="help_center">

<div class="crumbs_tmg" style="padding-top:0;">当前位置：<a href="#">首页</a><i class="ffs">></i><a href="#">会员中心</a><i class="ffs">></i><span class="blue">我的求购</span></div>
    {include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/menu_title.html"}
    <div class="user_content">
    	<h3 class="user_title j_ut">
        	<ul>
            	<li class="curr">我的求购</li>
            </ul>
        </h3>
        
        
        <div class="receiving_address">
            
            
            <div class="resource_search">
                <form name="search_quote" method="get" action="">品种：<input type="text" name="cate_name" class="rs_ph" value="{$cate_name}"/>牌号：<input type="text" name="product_name" class="rs_ph" value="{$product_name}"/>厂商：<input type="text" name="brand_name"  class="rs_ph" value="{$brand_name}"/>交货地：<input type="text" name="delivery_area" class="rs_ph" value="{$delivery_area}"/>
                <input class="rs_ph_btn" type="submit" value="搜  索"/>
                </form>
            </div>
            
            <ul class="rs_bar w25">
            	<li {if $status eq ''} class="curr" {/if}><a href="/user/inquiremanage">全部状态</a> <i>({$totalItems_all})</i></li>
            	<li {if $status eq '1'} class="curr" {/if}><a href="/user/inquiremanage?status=1">待审核</a> <i>({$totalItems_wait_audit})</i></li>
            	<li {if $status eq '2'} class="curr" {/if}><a href="/user/inquiremanage?status=2">待报价</a> <i>({$totalItems_audit})</i></li>
            	<li {if $status eq '3'} class="curr" {/if}><a href="/user/inquiremanage?status=3">正在洽谈</a> <i>({$totalItems_Negotiate})</i></li>
            	<li {if $status eq '4'} class="curr" {/if}><a href="/user/inquiremanage?status=4">正在交易</a> <i>({$totalItems_Trading})</i></li>
            	<li {if $status eq '5'} class="curr" {/if}><a href="/user/inquiremanage?status=5">交易完成</a> <i>({$totalItems_done})</i></li>
            	<li {if $status eq '6'} class="curr" {/if}><a href="/user/inquiremanage?status=6">审核未通过</a> <i>({$totalItems_cancel})</i></li>
            </ul>
            
            <ul class="rs_tmn">
            	<li class="w93">品种</li>
                <li class="w93">牌号</li>
                <li class="w93">厂商</li>
                <li class="w93">意向价格</li>
                <li class="w93">数量(吨)</li>
                <li class="w93">交易类型</li>
                <li class="w93">交货地</li>
                <li class="w93">发布时间</li>
                <li class="w93">状态</li>
                <li class="w93">操作</li>
            </ul>
            
            <ul class="rs_list_items inquire_ul">
                {if !$data}
                <li class="tac" style="padding-top: 10px;">暂无求购，亲 请去求购吧！</li>
                {else}
                {foreach from=$data key=key item=item}
            	<li>
                	<div class="wb_text">
                        <input class="rt_text1" type="hidden" name="id" value="{$item.id}"/>
                        <span class="rs_i_text1"><input type="checkbox" class="check_box mr5"></span>
                        <span class="rs_i_text2">{if $item.cate_name neq ''}{$item.cate_name}{else} 0{/if}</span>
                        <span class="rs_i_text">{if $item.product_name neq ''}{$item.product_name}{else} 0{/if}</span>
                        <span class="rs_i_text">{if $item.brand_name neq ''}{$item.brand_name}{else} 0{/if}</span>
                        <span class="rs_i_text orange">{$item.currency_mark}{$item.price}</span>
                        <span class="rs_i_text">{if $item.num neq ''}{$item.num}{else} 0{/if}</span>
                        <span class="rs_i_text">{if $item.service_name neq ''}{$item.service_name}{else} 0{/if}</span>
                        <span class="rs_i_text">{if $item.area_name neq ''}{$item.area_name}{else} 0{/if}</span>
                        <span class="rs_i_text">{if $item.delivery_time neq ''}{$item.delivery_time}{else} 0 {/if}</span>
                        <span class="rs_i_text" title="{$item.operate_remark}">{if $item.status neq ''}{$_BuyStartMean[$item.status]}{else} 0 {/if}</span>
                        <span class="rs_i_text"><a href="javascript:void(0)" class="del_inquire">删除</a></span>
                    </div>
                    
                </li>
                {/foreach}
                {/if}
            </ul>
            
            
            
            <div class="operation">
                <label><input name="" type="checkbox" value="" class="check_box mr5 inquire_check_all"/>全选</label>
                <a href="javascript:void(0)" class="opera_btn inquire_del">批量删除</a>
            </div>

            <div class="page tar ptb10p" id="page">{$links}</div>
        </div>

        
    </div>
</div>


{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/footer.html"}